package com.ibm.psbc.cloud;

import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
	@DubboReference(group = "")
	UserService userService;
	@GetMapping("/hello/{user}")
	public String hello(@PathVariable String user) {
		return userService.hello(user);
	}
}
